package com.lc.entity.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * @Author: lc
 * @Date: 2021/11/14 18:42
 */
@Data
public class ApiResponse implements Serializable {
    private int code;
    private String msg;
    private Object data;


    public ApiResponse(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    public ApiResponse(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}